@import '~pc/styles/lib_var.less';
@import '~pc/styles/lib_mixins.less';
@import '~pc/styles/lib_screen.less';

.animation {
  animation-duration: 0.3s;
}

.animation {
  border: 2px dashed var(--primaryColor);
}

.uploadZone {
  width: 100%;
  height: 100%;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 2px;
  border: 1px dashed transparent;
  outline: none;
  transition: border .1s ease-in-out;
  color: var(--fourthLevelText);
  letter-spacing: 1px;
  cursor: pointer;

  svg {
    margin-right: 4px;
  }

  &.dragOver {
    border-color: var(--primaryColor);
    color: var(--primaryColor);

    svg {
      fill: var(--primaryColor);
    }
  }
}

.opacity {
  width: 100%;
  height: 100%;
  opacity: 1;
  position: absolute;
  left: 0;
  top: 0;
  z-index: var(--zIndex-10-uploadZoneOpacity);
}

@media screen and(max-width: @w-md) {
  .uploadZone {
    border-radius: 8px;
  }
}